.class public Les/qr0;
.super Les/or0;
.source "ImmutableBigIntegerValueImpl.java"

# interfaces
.implements Lorg/msgpack/value/k;


# static fields
.field private static final b:Ljava/math/BigInteger;

.field private static final c:Ljava/math/BigInteger;

.field private static final d:Ljava/math/BigInteger;

.field private static final e:Ljava/math/BigInteger;

.field private static final f:Ljava/math/BigInteger;

.field private static final g:Ljava/math/BigInteger;

.field private static final h:Ljava/math/BigInteger;

.field private static final i:Ljava/math/BigInteger;


# instance fields
.field private final a:Ljava/math/BigInteger;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const-wide/16 v0, -0x80

    .line 1
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->b:Ljava/math/BigInteger;

    const-wide/16 v0, 0x7f

    .line 2
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->c:Ljava/math/BigInteger;

    const-wide/16 v0, -0x8000

    .line 3
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->d:Ljava/math/BigInteger;

    const-wide/16 v0, 0x7fff

    .line 4
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->e:Ljava/math/BigInteger;

    const-wide/32 v0, -0x80000000

    .line 5
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->f:Ljava/math/BigInteger;

    const-wide/32 v0, 0x7fffffff

    .line 6
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->g:Ljava/math/BigInteger;

    const-wide/high16 v0, -0x8000000000000000L

    .line 7
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->h:Ljava/math/BigInteger;

    const-wide v0, 0x7fffffffffffffffL

    .line 8
    invoke-static {v0, v1}, Ljava/math/BigInteger;->valueOf(J)Ljava/math/BigInteger;

    move-result-object v0

    sput-object v0, Les/qr0;->i:Ljava/math/BigInteger;

    return-void
.end method

.method public constructor <init>(Ljava/math/BigInteger;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/or0;-><init>()V

    .line 2
    iput-object p1, p0, Les/qr0;->a:Ljava/math/BigInteger;

    return-void
.end method


# virtual methods
.method public a(Lorg/msgpack/core/MessagePacker;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {p1, v0}, Lorg/msgpack/core/MessagePacker;->packBigInteger(Ljava/math/BigInteger;)Lorg/msgpack/core/MessagePacker;

    return-void
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 2

    if-ne p1, p0, :cond_0

    const/4 p1, 0x1

    return p1

    .line 1
    :cond_0
    instance-of v0, p1, Lorg/msgpack/value/x;

    const/4 v1, 0x0

    if-nez v0, :cond_1

    return v1

    .line 2
    :cond_1
    check-cast p1, Lorg/msgpack/value/x;

    .line 3
    invoke-interface {p1}, Lorg/msgpack/value/x;->s()Z

    move-result v0

    if-nez v0, :cond_2

    return v1

    .line 4
    :cond_2
    invoke-interface {p1}, Lorg/msgpack/value/x;->h()Lorg/msgpack/value/r;

    move-result-object p1

    .line 5
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-interface {p1}, Lorg/msgpack/value/u;->p()Ljava/math/BigInteger;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/math/BigInteger;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method public g()Z
    .locals 2

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    sget-object v1, Les/qr0;->h:Ljava/math/BigInteger;

    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-ltz v0, :cond_0

    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    sget-object v1, Les/qr0;->i:Ljava/math/BigInteger;

    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-gtz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public h()Lorg/msgpack/value/k;
    .locals 0

    return-object p0
.end method

.method public bridge synthetic h()Lorg/msgpack/value/r;
    .locals 0

    .line 1
    invoke-virtual {p0}, Les/qr0;->h()Lorg/msgpack/value/k;

    return-object p0
.end method

.method public hashCode()I
    .locals 4

    .line 1
    sget-object v0, Les/qr0;->f:Ljava/math/BigInteger;

    iget-object v1, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-gtz v0, :cond_0

    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    sget-object v1, Les/qr0;->g:Ljava/math/BigInteger;

    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-gtz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->longValue()J

    move-result-wide v0

    :goto_0
    long-to-int v1, v0

    return v1

    .line 3
    :cond_0
    sget-object v0, Les/qr0;->h:Ljava/math/BigInteger;

    iget-object v1, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-gtz v0, :cond_1

    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    sget-object v1, Les/qr0;->i:Ljava/math/BigInteger;

    .line 4
    invoke-virtual {v0, v1}, Ljava/math/BigInteger;->compareTo(Ljava/math/BigInteger;)I

    move-result v0

    if-gtz v0, :cond_1

    .line 5
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->longValue()J

    move-result-wide v0

    const/16 v2, 0x20

    ushr-long v2, v0, v2

    xor-long/2addr v0, v2

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->hashCode()I

    move-result v0

    return v0
.end method

.method public m()J
    .locals 2

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->longValue()J

    move-result-wide v0

    return-wide v0
.end method

.method public n()Lorg/msgpack/value/ValueType;
    .locals 1

    .line 1
    sget-object v0, Lorg/msgpack/value/ValueType;->INTEGER:Lorg/msgpack/value/ValueType;

    return-object v0
.end method

.method public o()D
    .locals 2

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->doubleValue()D

    move-result-wide v0

    return-wide v0
.end method

.method public p()Ljava/math/BigInteger;
    .locals 1

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    return-object v0
.end method

.method public toJson()Ljava/lang/String;
    .locals 1

    .line 1
    iget-object v0, p0, Les/qr0;->a:Ljava/math/BigInteger;

    invoke-virtual {v0}, Ljava/math/BigInteger;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/qr0;->toJson()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
